package com.laxia.model.dtos;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author weishuai
 * @since 2020/3/3
 */
public class LoginDTO {


    @Data
    public static class AdminLoginParam {

        @NotBlank(message = "用户名不能为空")
        private String username;
        @NotBlank(message = "密码不能为空")
        private String password;
        @NotBlank(message = "验证码不能为空")
        private String vcode;
    }
}
